package edu.gtcfla.km.appmodules.vo;

import java.io.Serializable;

import org.vsg.biz.BusinessEntityFactory;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import edu.gtcfla.km.Category;
import edu.gtcfla.km.UploadFile;

@JsonIgnoreProperties(value = {"entity"})
public class UploadFileFormVO implements Serializable {
	
	private String categoryId;
	
	private UploadFile entity;
	
	private static BusinessEntityFactory entityFactory = BusinessEntityFactory.getInstance();
	

	public UploadFileFormVO(UploadFile entity) {
		super();
		this.entity = entity;
	}
	
	public UploadFileFormVO() {
		entity = entityFactory.create( UploadFile.class );
	}

	public String getId() {
		return entity.getId();
	}

	public void setId(String id) {
		entity.setId(id);
	}

	public String getFileName() {
		return entity.getFileName();
	}

	public String getTitle() {
		return entity.getTitle();
	}

	public void setFileName(String fileName) {
		entity.setFileName(fileName);
	}

	public void setTitle(String title) {
		entity.setTitle(title);
	}


	
	public short getShared() {
		return entity.getShared();
	}

	public void setShared(short shared) {
		entity.setShared(shared);
	}

	public String getExt() {
		return entity.getExt();
	}

	public void setExt(String ext) {
		entity.setExt(ext);
	}

	public String getContentType() {
		return entity.getContentType();
	}

	public String getReleasedUserId() {
		return entity.getReleasedUserId();
	}

	public void setContentType(String contentType) {
		entity.setContentType(contentType);
	}

	public void setReleasedUserId(String userId) {
		entity.setReleasedUserId(userId);
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public UploadFile getEntity() {
		return entity;
	}

	public void setEntity(UploadFile entity) {
		this.entity = entity;
	}	

	
	
}